﻿using System;
using System.Collections.Generic;

using System.Text;

namespace QUANLYCHAMCONG.BL.Entities.Security
{
    public class USER
    {
        #region ***** Fields & Properties *****
        private string _USERID;
        public string USERID
        {
            get
            {
                return _USERID;
            }
            set
            {
                _USERID = value;
            }
        }
        private string _USERNAME;
        public string USERNAME
        {
            get
            {
                return _USERNAME;
            }
            set
            {
                _USERNAME = value;
            }
        }
        private string _PASSWORD;
        public string PASSWORD
        {
            get
            {
                return _PASSWORD;
            }
            set
            {
                _PASSWORD = value;
            }
        }
        private DateTime _CREATEDATE=DateTime.Now.Date;
        public DateTime CREATEDATE
        {
            get
            {
                return _CREATEDATE;
            }
            set
            {
                _CREATEDATE = value;
            }
        }
        private string _GROUPID;
        public string GROUPID
        {
            get
            {
                return _GROUPID;
            }
            set
            {
                _GROUPID = value;
            }
        }
        private string _MANV;
        public string MANV
        {
            get
            {
                return _MANV;
            }
            set
            {
                _MANV = value;
            }
        }
        #endregion

        #region ***** Init Methods *****
        public USER()
        {
        }
        public USER(string userid)
        {
            this.USERID = userid;
        }
        public USER(string userid, string username, string password, DateTime createdate, string groupid, string manv)
        {
            this.USERID = userid;
            this.USERNAME = username;
            this.PASSWORD = password;
            this.CREATEDATE = createdate;
            this.GROUPID = groupid;
            this.MANV = manv;
        }
        #endregion
    }

}
